/* Class mainScreenGui
 * 
 * 
 */
package disasterGameProj;


import java.awt.Graphics;

import javax.swing.JComponent;


public class mainScreenGui extends JComponent
{
	public Sprite sprite = null;
	
	mainScreenGui( Sprite spriteObj )
	{
		sprite = spriteObj;
	}
	
    public void paint(Graphics g) 
    {	
    	
    	g.drawImage( sprite.mainScreenImg, 0, 0, null );
    	g.drawImage( sprite.gameTitleImg, 350, 0, null );
    	g.drawImage( sprite.startImg, 200, 800, null );
    	g.drawImage( sprite.tutorialImg, 500, 800, null );
    	g.drawImage( sprite.exitImg, 800, 800, null );
    }

}
